package tanshiru2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String userAccount;
    private String userName;
    private String userPwd;
    private Integer userAge;
    private String userSex;
    private String userEmail;
    private String userTel;
    private Integer roleStatus;
    private String imgPath;
    private Date createTime;
    private Date updateTime;
}
